<!DOCTYPE html>
<!-- saved from url=(0053)https://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th=http://www.thymeleaf.org><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="https://getbootstrap.com/docs/4.0/assets/img/favicons/favicon.ico">

    <title>上架商品</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/4.0/examples/dashboard/">

    <!-- Bootstrap core CSS -->
    <link href="./dash_files/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="./dash_files/dashboard.css" rel="stylesheet">
    <style type="text/css">/* Chart.js */
    @-webkit-keyframes chartjs-render-animation{from{opacity:0.99}to{opacity:1}}@keyframes chartjs-render-animation{from{opacity:0.99}to{opacity:1}}.chartjs-render-monitor{-webkit-animation:chartjs-render-animation 0.001s;animation:chartjs-render-animation 0.001s;}</style></head>
<body>
<div th:utext="${msg}"></div>
<div th:replace="~{adminTem::topbar}"></div>
<div class="container-fluid">
    <div class="row">
        <div th:replace="~{adminTem::sidebar(active='list')}"}></div>
        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4"><div class="chartjs-size-monitor" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;"><div class="chartjs-size-monitor-expand" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="chartjs-size-monitor-shrink" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div></div>
            <form id="deform" action="/addWatch" enctype="multipart/form-data" method="post">
                <div class="form-group">
                    <label for="exampleInputEmail1">商品名称</label>
                    <input type="text" name="watch_name" class="form-control" id="exampleInputEmail1" placeholder="商品名称" required>
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail2">商品标题</label>
                    <input type="text" name="title" class="form-control" id="exampleInputEmail2" placeholder="商品标题" required>
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail3">商品价格</label>
                    <input type="text" onkeyup="value=value.replace(/[^\d.]/g,'')" name="price" class="form-control" id="exampleInputEmail3" placeholder="商品价格" required>
                </div>
                <div>
                    <label for="exampleInputEmail4">上传商品图片，支持jpg、jpeg、png</label>
                    <input type="file" name="file" id="exampleInputEmail4" required>
                </div>
                <button type="submit" class="btn btn-default">添加</button>
                <button type="reset" class="btn btn-default">重置</button>
            </form>
        </main>
    </div>
</div>
</body>
</html>